package com.example.transit.ui.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.EditText;
import android.widget.TextView;

import com.example.transit.R;
import com.example.transit.base.BaseFragment;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import butterknife.Unbinder;

public class PlanFragment extends BaseFragment {
//    @BindView(R.id.ed_start)
//    EditText edStart;
//    @BindView(R.id.ed_end)
//    EditText edEnd;
    Unbinder unbinder;

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        // TODO: inflate a fragment view
        View rootView = super.onCreateView(inflater, container, savedInstanceState);
        unbinder = ButterKnife.bind(this, rootView);
        return rootView;
    }

    @Override
    protected boolean isBindEventBus() {
        return false;
    }

    @Override
    public int intiLayout() {
        return R.layout.fragment_plan;
    }

    @Override
    public void initView() {

    }

    @Override
    public void initData() {

    }


//    @OnClick({R.id.img_change, R.id.ed_start, R.id.ed_end, R.id.img_search})
//    public void onViewClicked(View view) {
//        switch (view.getId()) {
//            case R.id.img_change:
//                break;
//            case R.id.ed_start:
//                edStart.setFocusable(true);
//                edStart.setFocusableInTouchMode(true);
//                edStart.getText().toString();
//
//                break;
//            case R.id.ed_end:
//                edEnd.setFocusable(true);
//                edEnd.setFocusableInTouchMode(true);
//                break;
//            case R.id.img_search:
//                break;
//        }
//    }
    @Override
    public void onDestroyView() {
        super.onDestroyView();
        unbinder.unbind();
    }
}
